<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo '充值买卡 - ',$config['sitename'] ?>
<?php echo $this->_endblock()?>
<?php echo $this->_block('meta')?>
<link rel="stylesheet"
	type="text/css" href="<?php echo $_BASE_DIR; ?>css/global.css" />
<link rel="stylesheet"
	href="<?php echo $_BASE_DIR; ?>css/vouchcenter.css" type="text/css">
<style type="text/css"> 
#navList a.top_banner_on5,#navList a.top_banner_on5:hover{
    background: url("<?php echo $_BASE_DIR; ?>images/website/image/index_top_bg.gif") no-repeat scroll left -50px transparent;
    color: #008EDA;
} 
</style>
<?php echo $this->_endblock()?>
<?php $this->_block('center'); ?>
<div id="maincon">
	<div id="maincon_l">
		<div id="other_pay">
			<ul>
			<?php foreach ($good_category as $item_c):?>
				<li><a
					href="<?php echo url('users/pay',array('categorysid'=>$item_c->id))?>"><?php echo $item_c->catename?>
				</a></li>
				<?php endforeach;?>
			</ul>
		</div>
	</div>
	<div id="maincon_r">
		<h3>
			<strong>电话卡购买</strong>
		</h3>
		<div class="clear" style="height: 6px;"></div>
		<?php foreach($item as $i):?>
		<dl class="vouch_center_dd">
			<dt>
				<a href="<?php echo url('users/pay',array('gid'=>$i->id))?>"><img
					src="<?php echo $_BASE_DIR.$i->imgurl; ?>" width="160" height="90" />
				</a>
			</dt>
			<dd>
				价格:<strong><?php echo $i->price / 100?>元</strong>
			</dd>
			<dd>
				到账:<strong><?php echo $i->send_price / 100?>元</strong>
			</dd>
			<dd style="padding-top: 6px;">
				<ul>
					<li><a href="<?php echo url('users/pay',array('gid'=>$i->id))?>"><img
							src="<?php echo $_BASE_DIR; ?>images/pay/image/topcenter_index_20.jpg" />
					</a></li>
				</ul>
			</dd>
		</dl>

		<?php endforeach;?>
		<div class="clear" style="height: 6px;"></div>
		<div class="page">
		<?php echo $this->_control('pagination', 'my-pagination', array('pagination' => $pagination,'url_args'=>$param)); ?>
		</div>
		<div class="clear" style="height: 6px;"></div>
	</div>
	<div class="clear"></div>
</div>
		<?php $this->_endblock(); ?>